-- GENERATED SPELL FOR [Skymane Gorilla] --


function spell0_2521(pUnit, Event) --@Trample,Self--
pUnit:FullCastSpellOnTarget(5568,pUnit)
pUnit:RegisterEvent('Sorts_2521', 603, 1)
end

function Sorts_2521(pUnit, Event)
local choix_sorts_2521 = math.random(0, 0)
if choix_sorts_2521 == 0 then
pUnit:RegisterEvent('spell0_2521', 1, 1)
end
end

function mob2521_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2521', math.random(1500, 3000), 1)
end

function mob2521_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2521_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2521_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2521, 1, 'mob2521_Action')
RegisterUnitEvent(2521, 2, 'mob2521_Leave')
RegisterUnitEvent(2521, 3, 'mob2521_Kill')
RegisterUnitEvent(2521, 4, 'mob2521_Die')
